export const tableOption = {
  border: true,
  stripe: true,
  searchMenuSpan: 6,
  searchSpan: 7,
  labelWidth: "200",
  searchSpan: 7,
  viewBtn: true,
  align: "center",
  column: [{
    label: "创建时间",
    prop: "create_time",
    editDisplay: false,
    addDisplay: false,
    span: 24
  },{
      label: "标题",
      prop: "name",
      span: 24,
      rules: [{
        required: true,
        message: "请输入标签名称"
      }]
    },{
      label: "内容",
      prop: "content",
      span: 24,
      rules: [{
        required: true,
        message: "请输入内容"
      }]
    },{
      label: "收件人",
      prop: "recive_user",
      span: 24,
      filterable: true,
      multiple: true,
      hide: true,
      placeholder: '《置空》即全员发送',
      type: "select",
      dicUrl: process.env.VUE_APP_BASE_API + "/admin/user/all",
      dicFormatter: res => {
        return (res.data || []).map(o => ({
          label: o.nickname,
          value: '' + o.id
        }));
      },
      props: {
        label: "label",
        value: "value"
      },
    },{
      label: "收件人",
      prop: "recive_user_txt",
      editDisplay: false,
      addDisplay: false,
      viewDisplay: false,
      slot: true,
      span: 24,
      rules: [{
        required: true,
        message: "请输入内容"
      }]
    },
  ]
};


